<template>
  <div id="student" style="width: 440px; height: 434px">
    <p>&emsp;|&emsp;明星教师</p>
    <el-table :data="tableData" style="width: 440px" height="434px">
      <el-table-column fixed prop="Icon" label="教师头像" width="150">
        <el-image
          style="width: 50px; height: 50px"
          :src="url"

        ></el-image>
      </el-table-column>
      <el-table-column prop="name" label="教师姓名" width="100">
      </el-table-column>
      <el-table-column prop="subject" label="简介" width="100">
      </el-table-column>
      <el-table-column prop="admin" label="上传人" width="80">
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
import classImg from "../../../assets/img/main-jiaoshi.png";
export default {
  data() {
    return {
      fits: ["fill"],
      url: classImg,
      tableData: [
        {
          Icon: "1",
          name: "JASON",
          subject: "英语外教",
          admin: "Diady",
        },
        {
          Icon: "2",
          name: "JASON",
          subject: "英语外教",
          admin: "Diady",
        },
        {
          Icon: "3",
          name: "JASON",
          subject: "英语外教",
          admin: "Diady",
        },
               {
          Icon: "2",
          name: "JASON",
          subject: "英语外教",
          admin: "Diady",
        },
      ],
    };
  },
};
</script>

<style lang='less' scoped>
/deep/.el-col-16{
  background-color: #e9eef3;
}
#student {
  margin-left: 6px;
  background-color: white;
  overflow: hidden;
  p {
    font-weight: 1000;
    color: #438afe;
    height: 30px;
    line-height: 1;
    margin-top: 20px;
  }
  /deep/.el-table .cell{
    text-align: center;
  }
}
</style>